<include file="Public/register-header"/>
<div class="mt">
    <ul class="tab">
        <li ><a href="{:U('Register/Register')}">个人用户</a></li>
       <!--  <li class="curr"><a clstag="regist|keycount|personalreg|02" href="{:U('Register/Registercompany')}">企业用户</a></li> -->
    </ul>
    <div class="extra">
         <span>我已经注册，现在就&nbsp;<a
            href="{:U("Login/login")}"
            class="flk13">登录</a></span>
    </div>
</div>
<div class="mc">



<form id="formcompany" method="post">
<input type="hidden" name="new" value="new_company_reg" />
<input type="hidden" name="regType" id="regType" value="company"/>
<input type="hidden" name="uuid" id="uuid" value="d3628eb5-d7b9-421e-9bad-8af53ae2e24f"/>

<div class="form">


<div class="item" id="select-regName">
    <span class="label"><b class="ftx04">*</b>用户名：</span>

    <div class="fl item-ifo">
        <div class="o-intelligent-regName">
            <input type="text" id="regName" name="regName"  maxlength="20"  class="text" tabindex="1" autoComplete="off"
                   onpaste="return false;"
                   value=""
                   onfocus="if(this.value=='') this.value='';this.style.color='#333'"
                   onblur="if(this.value=='') {this.value='';this.style.color='#999999'}"/>
            <i class="i-name"></i>
            <ul id="intelligent-regName" class="hide"></ul>
            <label id="regName_succeed" class="blank"></label>
            <label id="regName_error"></label>
        </div>

        <div class="intelligent-error hide" id="morePinDiv">
            <h5>推荐您使用：</h5>

            <div class="groom" id="morePinGroom"></div>
        </div>
        <input type="hidden" value="-1" id="hnschool"/>
        <input type="hidden" id="schoolid" name="schoolid"/>
        <input type="hidden" id="hnseli"/>
    </div>
</div>

<div id="o-password">
    <div id="capslock"><i></i><s></s>键盘大写锁定已打开，请注意大小写</div>
    <div class="item">
        <span class="label"><b class="ftx04">*</b>请设置密码：</span>

        <div class="fl item-ifo item-pass">
            <input type="password" id="pwd" name="pwd"  maxlength="20"  class="text" tabindex="2"
                   style="ime-mode:disabled;"
                   onpaste="return  false" autocomplete="off"/>
            <i class="i-pass"></i>
            <label id="pwd_succeed" class="blank"></label>
            <label id="pwd_error" class="hide"></label>
            <span class="clr"></span>
            <label class="hide" id="pwdstrength"><span class="fl">安全程度：</span><b></b></label>
        </div>
    </div>
    <script type="text/javascript">
        $('#pwd')[0].onkeypress = function(event){
            var e = event||window.event,
                $tip = $('#capslock'),
                    kc  =  e.keyCode||e.which, // 按键的keyCode
                    isShift  =  e.shiftKey ||(kc  ==   16 ) || false ; // shift键是否按住
            if (((kc >=65&&kc<=90)&&!isShift)|| ((kc >=97&&kc<=122)&&isShift)){
                    $tip.show();
            }
            else{
                    $tip.hide();
            }
        };
    </script>

    <div class="item">
        <span class="label"><b class="ftx04">*</b>请确认密码：</span>

        <div class="fl item-ifo item-pass">
            <input type="password" id="pwdRepeat" name="pwdRepeat"  maxlength="20"  class="text" tabindex="3"
                   onpaste="return  false" autocomplete="off"/>
            <i class="i-pass"></i>
            <label id="pwdRepeat_succeed" class="blank"></label>
            <label id="pwdRepeat_error"></label>
        </div>
    </div>
</div>
<input type="hidden" name="pjRdDuTgRp" value="WfAcZ"/>





<div class="item">
    <span class="label"><b class="ftx04">*</b>商铺名称：</span>

    <div class="fl item-ifo">
        <input type="text" id="companyname" name="companyname"  maxlength="40"  class="text" tabindex="9"/>
        <label id="companyname_succeed" class="blank"></label>
        <label id="companyname_error"></label>
    </div>
</div>
<div class="item it-company">
    <span class="label"><b class="ftx04">*</b>商铺所在地：</span>

    <div class="info">
    <div>
    <select id="s_province" name="s_province"></select>&nbsp;&nbsp;
    <select id="s_city" name="s_city" ></select>&nbsp;&nbsp;
    <select id="s_county" name="s_county"></select>
    <script class="resources library" src="__PUBLIC__/js/area.js" type="text/javascript"></script>
    
    <script type="text/javascript">_init_area();</script>
    </div>
    <div id="show"></div>
</div>
</div>

<div class="item">
    <span class="label"><b class="ftx04">*</b>商铺地址：</span>

    <div class="fl item-ifo">
        <input type="text" tabindex="11" class="text" name="companyaddr" id="companyaddr" maxlength="50" >
        <label class="blank" id="companyaddr_succeed"></label>
        <label id="companyaddr_error"></label>
    </div>
</div>

<div class="item fore1">
    <span class="label"><b class="ftx04">*</b>商铺类型：</span>

    <div class="fl item-ifo" style="width:500px;">                   <input id="purpose2" tabindex="13" class="checkbox" name="purposetype" runant="server" type="checkbox" value="1" />
      <label class="pad" for="purpose1">IT设备</label>
          <input id="purpose2" tabindex="13" class="checkbox" name="purposetype" runant="server" type="checkbox" value="2" />
      <label class="pad" for="purpose2">数码通讯</label>
          <input id="purpose2" tabindex="13" class="checkbox" name="purposetype" runant="server" type="checkbox" value="3" />
      <label class="pad" for="purpose3">办公用品耗材</label>
          <input id="purpose2" tabindex="13" class="checkbox" name="purposetype" runant="server" type="checkbox" value="4" />
      <label class="pad" for="purpose4">大家电</label>
          <input id="purpose2" tabindex="13" class="checkbox" name="purposetype" runant="server" type="checkbox" value="5" />
      <label class="pad" for="purpose5">项目合作-政府采购</label>
          <input id="purpose2" tabindex="13" class="checkbox" name="purposetype" runant="server" type="checkbox" value="6" />
      <label class="pad" for="purpose6">礼品</label>
          <input id="purpose2" tabindex="13" class="checkbox" name="purposetype" runant="server" type="checkbox" value="7" />
      <label class="pad" for="purpose7">商旅(机票/酒店等)</label>
            <input id="purpose" type="hidden" value=""/>
        <label id="purpose_succeed" class="blank"></label>
        <span class="clr"></span>
        <label id="purpose_error"></label>
    </div>
</div>




    <!--验证码更改,qianxuedi-->
        <div class="item" id="authcodeDiv">
        <span class="label"><b class="ftx04">*</b>验证码：</span>

        <div class="fl item-ifo">
            <input type="text" id="authcode" style="ime-mode:disabled" name="authcode" class="text text-1"
                   tabindex="23" autocomplete="off" MaxLength="6"/>
            <label class="img">
                <img style="cursor:pointer;width:100px;height:36px;display:block;" alt=""  clstag="regist|keycount|personalreg|06"
                     src="{:U('yzm')}"
                     ver_colorofnoisepoint="#888888" id="JD_Verification1"> </label>
            <script type="text/javascript">$("#JD_Verification1").click();</script>
            <label class="ftx23">&nbsp;看不清？<a href="javascript:void(0)" onclick="setTimeout(verc,50);"
                                              class="flk13">换一张</a></label>
            <label id="authcode_succeed" class="blank invisible"></label>
            <span class="clr"></span>
            <label id="authcode_error"></label>
        </div>
    </div>
    


<div class="item item-new">
    <span class="label">&nbsp;</span>

    <div class="fl item-ifo">
        <input type="checkbox" class="checkbox" checked="checked" id="readme"
               onclick="agreeonProtocol();">
        <label for="protocol">我已阅读并同意<a href="#" class="blue" id="protocol">《京东用户注册协议》</a></label>
        <span class="clr"></span>
        <label id="protocol_error" class="error hide">请接受服务条款</label>
    </div>
</div>

<div class="item">
    <span class="label">&nbsp;</span>
    <input type="button" class="btn-img btn-regist" id="registsubmit" value="立即注册" tabindex="25" clstag="regist|keycount|companyreg|04"/>
</div>
</form>

</div>
</div>
</div>
<include file="Public/register-footer"/>
<script type="text/javascript">
var Gid  = document.getElementById ;
var showArea = function(){
    Gid('show').innerHTML = "<h3>省" + Gid('s_province').value + " - 市" +    
    Gid('s_city').value + " - 县/区" + 
    Gid('s_county').value + "</h3>"
                            }
Gid('s_county').setAttribute('onchange','showArea()');
</script>